package com.bean;

import com.imessage.type.BaseState;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;
@Getter
@Setter
@ToString
@Entity
@Table(name = "manage_user", schema = "public")
public class ManageUser extends BaseModel implements Serializable {

    @Column(name = "name", nullable = true, length = 255)
    private String name;

    @Column(name = "passwd", nullable = true, length = 255)
    private String passwd;

    @Column(name = "head_img", nullable = true, length = 255)
    private String headImg;

    @Column(name = "phone", nullable = true, length = 255)
    private String phone;

    @Column(name = "email", nullable = true, length = 255)
    private String email;

    @Column(name = "state", nullable = true, length = 2)
    private BaseState state = BaseState.normal;


}
